#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;

class Data
{
public:
	Data(int year = 1, int month = 1, int day = 1)
	{
		_year = year;
		_month = month;
		_day = day;
	}
	void Print()
	{
		cout << _year << "-" << _month << "-" << _day << endl;
	}
private:
	int _year;
	int _month;
	int _day;
};
int main()
{
	Data d1(2024, 4, 9);
	d1.Print();

	return 0;
}